<a href="<?php echo $this->url(array('controller'=>'Produit', 'action'=>'index')); ?>">Produits</a> &nbsp;
<a href="<?php echo $this->url(array('controller'=>'User', 'action'=>'index'));?>">Utilisateurs</a> &nbsp;
<a href="<?php echo $this->url(array('controller'=>'Stock', 'action'=>'index'));?>">Stock</a><br/><br/>
<p><a href ="<?php echo $this->url(array('controller'=>'Categorie', 
					'action'=>'add'));?>">Ajouter une categorie</a></p>        

<table>
	<tr>
		<th>Nom de la categorie</th>
		<th>Action</th>
	</tr>
<?php foreach ($this->categories as $categorie) :?>	
	<tr>
		<td><?php echo $this->escape($categorie->name);?></td>
		<td>
			<a href ="<?php echo $this->url(array('controller'=>'Categorie', 
					'action'=>'edite', 'id'=>$categorie->id));?>">Modifier /</a>
			<a href ="<?php echo $this->url(array('controller'=>'Categorie', 
					'action'=>'delete', 'id'=>$categorie->id));?>">Supprimer</a>					
		</td>
	</tr>
<?php endforeach;?>
</table>